﻿using STHPMS1.ICore.I_Entity;
using STHPMS1.ICore.I_Entity.Stmpms1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace STHPMS1.ICore.I_DAL.Repository
{
    public interface IDr_Stru_MateRepository : IDal
    {
        /// <summary>
        /// 通过材料类别获取层次，对应的材料，价格
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="stru_type"></param>
        /// <returns></returns>
        IEnumerable<T> GetMaterialByType<T>(string stru_type) where T : class, IDr_Stru_Mate;
    }
}
